import {createRouter,createWebHistory} from 'vue-router'
import  searchResult from "../views/SearchResult.vue";
import ToolByCategory from "@/views/ToolByCategory.vue";

const routes = [
    {path: '/toolByCategory',component:ToolByCategory},
    {path: '/searchResult',component:searchResult}
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router